package com.cn.data.aop;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

/**
 * @Author: chenl
 * @Date: 2019/11/14 22:35
 */
@Component
@Aspect
public class DataAspect {

    @Pointcut("execution(* com.cn.data.aop..*(..))")
    public void pointCut(){

    }


    @Before("pointCut()")
    public void beforeAdvise(){

        System.out.println("aop before===========");
    }



}
